home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR09
/
EGATREK.ZIP
/
QREF.NOT
next >
Wrap
Text File
|
1988-03-12
|
12KB
|
432 lines
Dos 3.30 Quick Reference Card
Type of commands Page No.
----------------------------------------------------------------
I. Batch file commands 1
II. DOS commands 2
III. Norton Utilities 12
IV. DEBUG commands 15
V. CONFIG.SYS commands 19
NOTE: All text in sections I, II, IV, and V is
(C)Copyright IBM Corporation 1987, material in
section III is (C)Copyright Peter Norton 1984,
and SideKick is (C)Copyright Borland
International 1987.
BATCH Commands Page 1
-----------------------------------------------------------------
Displays messages, disables or enables 'echo message':
ECHO [ON | OFF | messages]
Transfers control to label:
GOTO [:] label
Conditional execution of commands:
IF [NOT] condition command
Waits for operator to press a key:
PAUSE [remark]
Conceals remarks (see ECHO):
REM [remark]
DOS Commands Page 2
-----------------------------------------------------------------
Allows a DOS path-like support for data files in addition to
program files:
The first time APPEND is loaded:
[d:][path] APPEND d:path[; [d:][path]...]
or
[d:][path] APPEND [/X][/E]
After APPEND has been loaded:
APPEND d:path[; [d:][path]...]
or
APPEND [;]
Make drive specifier x refer to y:
[d:][path] ASSIGN [x[=]y[...]]
Sets file to read-only or sets archive attributes on or off:
[d:][path] ATTRIB [+R | -R] [+A | -A] [d:][path] filename[.ext] [/S]
DOS Commands (continued) Page 3
-----------------------------------------------------------------
Changes current directory:
CHDIR [d:][path]
or
CD [d:][path]
Checks disk and reports status:
[d:][path] CHKDSK [d:][path] [filename[.ext]] [/F] [/V]
Start a secondary command processor:
COMMAND [d:][path] [/P] [/C string] [/E:xxxxx]
Compare files:
[d:][path] COMP [d:][path] [filename[.ext]]
[d:][path] [filename[.ext]]
DOS Commands (continued) Page 4
-----------------------------------------------------------------
Copies files:
COPY [/A][/B][d:][path] filename[.ext][/A][/B]
[d:][path] [filename[.ext]][/A][/B][/V]
or
COPY [/A][/B][d:][path] filename[.ext][/A][/B]
[+ [d:][path] [filename[.ext]][/A][/B]...]
[d:][path] [filename[.ext]][/A][/B][/V]
Allows you to set or change the date:
DATE [mm-dd-yy | dd-mm-yy | yy-mm-dd]
Deletes files:
DEL [d:][path] filename[.ext]
Lists files:
DIR [d:][path] [filename[.ext]][/P][/W]
DOS Commands (continued) Page 5
-----------------------------------------------------------------
Compares diskettes:
[d:][path] DISKCOMP [d: [d:]] [/1][/8]
Copies diskettes:
[d:][path] DISKCOPY [d: [d:]] [/1]
Erases files:
ERASE [d:][path] filename[.ext]
Converts .EXE files to .COM format:
[d:][path] EXE2BIN [d:][path] filename[.ext]
[d:][path] [filename[.ext]]
Allows for fast accessing of files by holding in memory the
locations of directories and recently opened files:
[d:][path] FASTOPEN d:[=nnn]...
DOS Commands (continued) Page 6
-----------------------------------------------------------------
Formats diskettes or fixed disks
[d:][path] FORMAT d:[/S][/1][/8][/V][/B][/4][/N:xx][/T:yy]
Loads a table of additional character data into memory for the
color/graphics adapter:
[d:][path] GRAFTABL [437 | 860 | 863 | 865 | /STATUS]
Allows the contents of a graphics display screen to be printed
when using a color/graphics monitor adapter and screen:
[d:][path] GRAPHICS [printer type][/R][/B][/LCD]
Connects a drive to a directory on another drive to produce a
single directory structure:
[d:][path] JOIN [d: d:\directory][/D]
Create, change, or delete a label:
[d:][path] LABEL [d:][volume label]
DOS Commands (continued) Page 7
-----------------------------------------------------------------
Creates a sub-directory:
MKDIR [d:] path
or
MD [d:] path
Sets mode on display:
[d:][path] MODE [40 | 80 | BW40 | BW80 | CO40 | CO80 | MONO]
[,[R | L]][,T]
Pause standard output after 24 lines (Filter):
[d:][path] MORE [<filename.ext]
Searches specific directories for commands or batch files:
PATH [[d:]path[;[d:]path]...]
or
PATH;
DOS Commands (continued) Page 8
-----------------------------------------------------------------
Prints and queues data files:
[d:][path] PRINT [/D:device][/B:buffsiz][/U:busytick]
[/M:maxtick][/S:timeslice][/Q:quesiz][/C][/T][/P]
[[d:][path][filename[.ext]...]]
Set new prompt:
PROMPT [prompt-text]
The prompt-text can be any text or can contain any of the
following meta-strings in the form of $(letter) where letter
is:
$ - the $ character
t - the time
d - the date
p - the current directory of the default drive
v - the version number
n - the default drive letter
g - the > character
DOS Commands (continued) Page 9
-----------------------------------------------------------------
PROMPT (continued)
l - the < character
b - the | character
q - the = character
h - a backspace; the previous character is erased
e - the ESCape character - prefixes ansi control sequences
_ - the CR LF sequence (go to new line on display screen)
Renames files:
REN[AME] [d:][path] filename[.ext] filename[.ext]
Replaces and adds files
[d:][path] REPLACE [d:][path] filename[.ext] [d:][path]
[/A][/P][/R][/S][/W]
Removes a sub-directory:
RMDIR (or RD) [d:] path
DOS Commands (continued) Page 10
-----------------------------------------------------------------
Display or change the command processor's environment:
SET [name=[parameter]]
Loads support for file sharing:
[d:][path] SHARE [/F:filespace][/L:locks]
Allows you to uses a different drive specifier to refer to a
drive or path:
[d:][path] SUBST d: d:path
or
[d:][path] SUBST d: /D
or
[d:][path] SUBST
Transfers DOS:
[d:][path] SYS d:
DOS Commands (continued) Page 11
-----------------------------------------------------------------
Enter or change the time known to the system:
TIME [hh:mm[:ss][.xx]]
Displays all directory paths:
[d:][path] TREE [d:][/F]
Displays file contents:
TYPE [d:][path] filename[.ext]
Displays DOS version number:
VER
Verifies data after every write to disk:
VOL [d:]
Copies groups of files, including lower level subdirectories:
[d:][path] XCOPY [d:][path][filename[.ext]] [d:][path]
[filename[.ext]][/A][/D][/E][/M][/P][/S][/V][/W]
Norton Utility Commands Page 12
-----------------------------------------------------------------
AUSQ - To unsqueeze files
BEEP - To beep the speaker
COPYIIPC - Copies copy-protected programs
DISKRTN2 - Disk Utility
DS - Directory sort
DT - Disk tester
FA - View and change file attribute
FF - File finder
FS - File sort
LD - List directory
LP - Line printer
LQTYPE - Lists .LBR (LIBRARY) and sqeezed files
LU - Library utility - unpacks, etc
LUE193 - Library utility program
MOVE - Moves a file from one sub-directory to another
NU - Norton utilities
NUSQ - Norton Unsqueeze V1.11
Norton Utility Commands (continued) Page 13
-----------------------------------------------------------------
SA - Sets screen foreground and background colors:
SA [NORMAL | REVERSE | [BRIGHT]
foreground [ON background]]
Valid values for foreground are:
Black Gray
Blue Light Blue
Green Light Green
Cyan Light Cyan
Red Light Red
Magenta Light Magenta
Brown Yellow
White High Intensity White
Valid values for background are all those in the first
column listed above.
Norton Utility Commands (continued) Page 14
-----------------------------------------------------------------
SETCLOCK - Sets value of electronic clock
SI - System information
WIPEFILE - Erase file completely
WIPEDISK - Erase disk completely
DEBUG Commands Page 15
-----------------------------------------------------------------
Assembles statements:
A [address]
Compares memory:
C range address
Displays memory:
D [address]
or
D [range]
Replaces memory contents:
E address [list]
Changes memory blocks:
F range list
DEBUG Commands (continued) Page 16
-----------------------------------------------------------------
Executes with optional breakpoints:
G [=address][address[address...]]
Hexadecimal add-subtract:
H value value
Reads and displays input byte:
I portaddress
Loads file or absolute diskette sectors:
L [address[drive sector sector]]
Moves memory block:
M range address
Defines files and parameters:
N [d:][path] filename[.ext]
DEBUG Commands (continued) Page 17
-----------------------------------------------------------------
Sends output byte:
O portaddress byte
Proceed with statements after jump:
P [=address][value]
Ends DEBUG program:
Q
Displays registers/flag:
R [registername]
Searches for characters:
S range list
Executes and displays:
T [=address][value]
DEBUG Commands (continued) Page 18
-----------------------------------------------------------------
Unassembles instructions:
U [address]
or
U [range]
Writes file or absolute diskette sectors:
W [address[drive sector sector]]
Configuration Commands Page 19
-----------------------------------------------------------------
Sets BREAK to ON or OFF:
BREAK [ON | OFF]
Sets number of buffers DOS will allocate:
BUFFERS = x
Permits use of DOS ANSI keyboard and screen enhancements:
DEVICE = ANSI.SYS
Permits creation of RAM disk:
DEVICE = VDISK.SYS kkk [fff][sss]
Sets maximum number of control blocks that can be concurrently
open:
FCBS = m,n
Sets maximum number of files that can be concurrently open:
FILES = x
Configuration Commands (continued) Page 20
-----------------------------------------------------------------
Sets maximum number of drives that can be accessed:
LASTDRIVE = x
Loads a top-level command processor:
SHELL = [d:][path] filename[.ext] [parm1][parm2]
Allows you to override the default stack
STACKS = n,s